package com.example.demo13.mapper;

import com.example.demo13.entity.Product;

import java.util.List;

public interface ProductMapper {
    void insert(Product product);
    void update(Product product);
    void delete(int id);
    List<Product> select();
    Product selectById(int id);

    int deleteByIds1(List<Integer> ids);
    int deleteByIds2(Integer[] ids);
    int deleteByIds3(Integer... ids);
    void insertProducts(List<Product> list);
}
